#
# Be sure to run `pod lib lint TestKit.podspec' to ensure this is a
# valid spec before submitting.
#
# Any lines starting with a # are optional, but their use is encouraged
# To learn more about a Podspec see https://guides.cocoapods.org/syntax/podspec.html
#

Pod::Spec.new do |s|
  s.name             = 'TestKit'
  s.version          = '1.0.11'
  s.summary          = 'A short description of TestKit.'

  s.homepage         = 'https://gitee.com/chengssir/TestKit'
  s.license          = { :type => 'MIT', :file => 'LICENSE' }
  s.author           = { 'guoshuai.cheng' => 'guoshuai.cheng@asiainnovations.com' }
  s.source           = { :git => 'https://gitee.com/chengssir/TestKit.git', :tag => s.version.to_s }
  
  s.pod_target_xcconfig = { 'USER_HEADER_SEARCH_PATHS' => '${PODS_ROOT}/**' }
  s.ios.deployment_target = '9.0'
  
if ENV['use_code'] or ENV[s.name+'_use_code']
      puts '---code----------------------------------------------------------------'
      s.source_files = 'TestKit/Classes/**/*'
  else
      puts '---Frameworks----------------------------------------------------------------'
      s.vendored_frameworks = 'Frameworks/*.framework'
      s.ios.vendored_frameworks = 'Frameworks/*.framework'   #指定当前库依赖的Framework
      s.public_header_files='Frameworks/*.framework/Headers/*.h'
  end
  
  # s.resource_bundles = {
  #   'TestKit' => ['TestKit/Assets/*.png']
  # }

#   s.public_header_files = 'Pod/Classes/**/*.h'
  # s.frameworks = 'UIKit', 'MapKit'
  # s.dependency 'AFNetworking', '~> 2.3'
end
